package com.yeyaomai.dksns.flowis.service;

import java.util.Date;
import java.util.List;
import com.yeyaomai.dksns.flowis.domain.TrendAnalysisHour;

/**
 * 时段分析按时分析service层接口
 * 
 * @author xiaqin date:2012-05-09
 */
public interface TrendAnalysisHourService {
	void addTrendAnalysisDay(TrendAnalysisHour trendAnalysisHour);

	TrendAnalysisHour getTrendAnalysisHourById(long id);

	List<TrendAnalysisHour> getTrendAnalysisHourByHour(Date fromTrendDay,
			Date toTrendDay);
	
	TrendAnalysisHour getCurrentData(Date date);
}
